﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Database = Microsoft.SqlServer.Management.Smo.Database;
using System.Xml.Serialization;

namespace Bewise.SmartIndexManager.Core.Classes.Options
{
    public class DatabaseOption : AbstractOption
    {
        [XmlIgnore]
        public Microsoft.SqlServer.Management.Smo.Database DatabaseSource { get; set; }

        public override string TargetObjectName
        {
            get { return string.Format("Database : {0}, Size : {1}", DatabaseSource.Name, DatabaseSource.Size); }
        }
    }
}
